home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / text / misc / nroff.lha / nroff / tests.shar.Z / tests.shar / mc.out < prev    next >
Text File  |  1998-03-09  |  3KB  |  67 lines

  1.                                                               |
  2.                                                               |
  3.  
  4.                                                               |
  5.                                                               |
  6.             Testing the Margin Character Command              |
  7.  
  8.  
  9. OVERVIEW 
  10.  
  11. This is  a  test  of  the  .mc  command in nroff.  It adds a
  12. character in the right margin when  on  and  leaves  if  off
  13. otherwise.
  14.                                                               |
  15. These lines  should  have  a  change  bar.    Turn on margin  |
  16. character mode by adding an .mc command with  at  least  one  |
  17. argument.   Note  that nroff currently ignores the argument,  |
  18. except to turn  on  the  mode.    The  margin  character  is  |
  19. currently  always  a  vertical  bar  ("|")  and is located 2  |
  20. spaces to the right of the right margin.                      |
  21. Now it should be off.  Turn off mc mode with an .mc  command
  22. with no arguments.  
  23.  
  24. You  can  add  margin  characters  to no fill areas as well.
  25. nroff will automatically add enough spaces to fill the  line
  26. and make the character line up with the right margin as with 
  27. fill mode.  
  28.  
  29. This is a no fill area.
  30. Here is a change bar in a no fill area (note the blank
  31. line is changed as well):
  32.                                                               |
  33. THIS LINE IS CHANGED!                                         |
  34. NO MORE CHANGES!!!
  35. If the line is longer than the right margin, the
  36. margin character is appended to the line:
  37. THIS IS A VERY,VERY,VERY,VERY,VERY,VERY,VERY,VERY,VERY,VERY LONG LINE...  |
  38. NO MORE CHANGES HERE!!!
  39.                                                               |
  40.                                                               |
  41. NEW SECTION                                                   |
  42.                                                               |
  43. Here is an entire section added.  It should have change bars  |
  44. for  all  lines,  including  the  spaces  before the section  |
  45. heading.                                                      |
  46.                                                               |
  47. This .mc capability contains the same  bugs  as  the  normal  |
  48. unix .mc  command.   You should put a .br command before the  |
  49. .mc which ends the margin character  section  to  force  the  |
  50. character  on  lines  which  end  before  the entire line is  |
  51. filled.                                                       |
  52.  
  53.  
  54. FINALE 
  55.  
  56. It section should not have any more change bars.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                         25 July 1990
  65.  
  66.  
  67.